/*    */ package eos.moe.dragoncore;
/*    */ import java.util.List;
/*    */ import net.minecraft.client.Minecraft;
/*    */ import net.minecraft.client.gui.FontRenderer;
/*    */ import net.minecraft.client.renderer.GlStateManager;
/*    */ import net.minecraft.client.util.ITooltipFlag;
/*    */ import net.minecraft.entity.player.EntityPlayer;
/*    */ import net.minecraft.item.ItemStack;
/*    */ import net.minecraft.util.text.TextFormatting;
/*    */ import net.minecraftforge.fml.client.config.GuiUtils;
/*    */ 
/*    */ public class qa {
/* 13 */   private static Minecraft g = Minecraft.func_71410_x();
/*    */ 
/*    */   
/*    */   public static void v(ItemStack a, int i, int j, String str) {
/* 17 */     GlStateManager.func_179109_b(0.0F, 0.0F, 32.0F);
/*    */     
/* 19 */     (g.func_175599_af()).field_77023_b = 200.0F;
/* 20 */     FontRenderer fontRenderer = a.func_77973_b().getFontRenderer(a);
/* 21 */     if (fontRenderer == null) fontRenderer = g.field_71466_p; 
/* 22 */     g.func_175599_af().func_180450_b(a, i, j);
/* 23 */     g.func_175599_af().func_180453_a(fontRenderer, a, i, j, str);
/*    */     
/* 25 */     (g.func_175599_af()).field_77023_b = 0.0F;
/*    */   }
/*    */   
/*    */   public static void v(ItemStack a, int i, int j) {
/* 29 */     FontRenderer fontRenderer = a.func_77973_b().getFontRenderer(a);
/* 30 */     GuiUtils.preItemToolTip(a);
/* 31 */     v(v(a), i, j, (fontRenderer == null) ? g.field_71466_p : fontRenderer);
/* 32 */     GuiUtils.postItemToolTip();
/*    */   }
/*    */ 
/*    */   
/*    */   public static void v(List a, int i, int j, FontRenderer fontRenderer) {
/* 37 */     GuiUtils.drawHoveringText(a, i, j, g.field_71462_r.field_146294_l, g.field_71462_r.field_146295_m, -1, fontRenderer);
/*    */   }
/*    */   
/*    */   public static List<String> v(ItemStack a) {
/* 41 */     List<String> list = a.func_82840_a((EntityPlayer)g.field_71439_g, g.field_71474_y.field_82882_x ? (ITooltipFlag)ITooltipFlag.TooltipFlags.ADVANCED : (ITooltipFlag)ITooltipFlag.TooltipFlags.NORMAL);
/*    */     
/* 43 */     for (int i = 0; i < list.size(); i++) {
/* 44 */       if (i == 0) {
/* 45 */         list.set(i, (a.func_77953_t()).field_77937_e + (String)list.get(i));
/*    */       } else {
/* 47 */         list.set(i, TextFormatting.GRAY + (String)list.get(i));
/*    */       } 
/*    */     } 
/*    */     
/* 51 */     return list;
/*    */   }
/*    */ }


/* Location:              D:\fanbian\[D][龙之核心]DragonCore-2.6.0.3.jar!\eos\moe\dragoncore\qa.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */